package machinery.state;

import machinery.Machinery;

/**
 * 状态模式：空闲状态实现
 */
public class IdleState implements MachineryState {
    @Override
    public void handle(Machinery machinery) {
        System.out.println(machinery.getName() + " 处于空闲状态，等待任务分配");
    }
    
    @Override
    public String getStateName() {
        return "空闲状态";
    }
} 